package com.caiyouxi.finance.mapper;

import com.caiyouxi.finance.model.FinanceCurrency;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface FinanceCurrencyMapper {

    //查询
    public FinanceCurrency select_finance_currency(String code);

    public FinanceCurrency get_fcurrency_by_buying_type(String buying_currency_type);

    public List<FinanceCurrency> get_list(FinanceCurrency bean);

    //增加
    public int add_finance_currency(FinanceCurrency bean);

    //修改
    public int update_finance_currency(FinanceCurrency bean);

    //删除
    public int delete_finance_currency(FinanceCurrency bean);

    //分页查询所有（带条件）
    List<FinanceCurrency>  finance_currency_list(FinanceCurrency bean);

    //查询条数
    int finance_currency_counts(FinanceCurrency bean);
}
